<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'
</script>

<template>
  <header>
        <nav>
          <RouterLink to="/">Home</RouterLink>
        <RouterLink to="/about">About</RouterLink>
        <RouterLink to="/addmember">添加会员</RouterLink>
        <RouterLink to="/memberShow">显示会员</RouterLink>
        <RouterLink to="/memberUpdate">修改会员</RouterLink>
        </nav>
  </header>

  <RouterView />
</template>

<style scoped>
a{
  margin: 0 10px;
}
</style>
